package com.lagou.enums;
/*
 * PackageName: com.lagou.enums
 * ClassName:   SqlTypeEnum
 * Author:   zhang
 * Date:     Created in 2020/10/4
 * Description:
 * History:
 * <author>        <time>             <version>          <desc>
 * 作者姓名         修改时间            版本号              描述
 * zhang           2020/10/4      1.0
 */

import lombok.Data;

/**
 * Title:
 * Project: IPersistence_test
 *
 * @author ZhangKe
 * Created on 2020/10/4
 */
public enum SqlTypeEnum {
    INSERT(1,"insert"),
    DELETE(2,"delete"),
    SELECT(3,"select"),
    UPDATE(4,"update"),
    ;
    private Integer id;
    private String name;

    SqlTypeEnum(Integer id) {
        this.id = id;
    }

    SqlTypeEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }
}
